package org.framework.define.bean.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the tbl_user_info database table.
 * 
 */
@Entity
@Table(name="tbl_user_info")
public class TblUserInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="user_id", unique=true, nullable=false, length=20)
	private String userId;

	@Column(length=50)
	private String address;

	@Column(nullable=false, length=50)
	private String email;

	@Column(name="email_flag", nullable=false)
	private byte emailFlag;

	@Column(name="ip_address", length=16)
	private String ipAddress;

	@Column(name="phone_flag", nullable=false)
	private byte phoneFlag;

	@Column(name="phone_num", nullable=false, length=15)
	private String phoneNum;

	@Column(name="qq_num", length=20)
	private String qqNum;

	@Column(name="real_name", nullable=false, length=20)
	private String realName;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="reg_time", nullable=false)
	private Date regTime;

	public TblUserInfo() {
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public byte getEmailFlag() {
		return this.emailFlag;
	}

	public void setEmailFlag(byte emailFlag) {
		this.emailFlag = emailFlag;
	}

	public String getIpAddress() {
		return this.ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public byte getPhoneFlag() {
		return this.phoneFlag;
	}

	public void setPhoneFlag(byte phoneFlag) {
		this.phoneFlag = phoneFlag;
	}

	public String getPhoneNum() {
		return this.phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getQqNum() {
		return this.qqNum;
	}

	public void setQqNum(String qqNum) {
		this.qqNum = qqNum;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Date getRegTime() {
		return this.regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

}